package com.example.springboott1.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.springboott1.entity.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderMapper extends BaseMapper<Order> {
    public List<Order> getOrderByUserId(@Param("user_id") Integer userId);
}
